With the Azure CLI: Step 1: In the Azure CLI, run the command: az batch account create First we create a batch account. Step 2: In Azure CLI, run the command: az batch pool createNow that you have a Batch account, create a sample pool of Linux compute nodes using the az batch pool create command. Step 3: In Azure CLI, run the command: az batch job createNow that you have a pool, create a job to run on it. A Batch job is a logical group for one or more tasks. A job includes settings common to the tasks, such as priority and the pool to run tasks on. Create a Batch job by using the az batch job create command. Step 4: In Azure CLI, run the command: az batch task createNow use the az batch task create command to create some tasks to run in the job. References:https://docs.microsoft.com/en-us/azure/batch/quick-create-cli
With the Azure CLI:
Step 1: In the Azure CLI, run the command: az batch account create First we create a batch account.
Step 2: In Azure CLI, run the command: az batch pool create
Now that you have a Batch account, create a sample pool of Linux compute nodes using the az batch pool create command.
Step 3: In Azure CLI, run the command: az batch job create
Now that you have a pool, create a job to run on it. A Batch job is a logical group for one or more tasks. A job includes settings common to the tasks, such as priority and the pool to run tasks on. Create a Batch job by using the az batch job create command.
Step 4: In Azure CLI, run the command: az batch task create
Now use the az batch task create command to create some tasks to run in the job.
References:
https://docs.microsoft.com/en-us/azure/batch/quick-create-cli